import request from '@/utils/request'

// 查询水质实时数据列表
export function listSysWaterQuality(query) {
  return request({
    url: '/SysWaterQuality/SysWaterQuality/list',
    method: 'get',
    params: query
  })
}

// 查询水质实时数据详细
export function getSysWaterQuality(id) {
  return request({
    url: '/SysWaterQuality/SysWaterQuality/' + id,
    method: 'get'
  })
}

// 新增水质实时数据
export function addSysWaterQuality(data) {
  return request({
    url: '/SysWaterQuality/SysWaterQuality',
    method: 'post',
    data: data
  })
}

// 修改水质实时数据
export function updateSysWaterQuality(data) {
  return request({
    url: '/SysWaterQuality/SysWaterQuality',
    method: 'put',
    data: data
  })
}

// 删除水质实时数据
export function delSysWaterQuality(id) {
  return request({
    url: '/SysWaterQuality/SysWaterQuality/' + id,
    method: 'delete'
  })
}
